table.EVAL_VALID Function

Syntax

Logical Result_Flag = Eval_Valid(C expression)

Arguments

expression

An Xbasic expression.

Description

Returns TRUE if expression is valid in the context of the table.

Discussion

The <TBL>.EVAL_VALID() method returns .T. (TRUE) if the expression is valid in the context of the table; otherwise, it returns .F. (FALSE).

Example

dim t as P
t = table.open("customer")
? t.eval_valid("lastname")
= .T.
? t.eval_valid("fullname")
= .F.

See Also